package com.zsc.shixun.model.type;

import com.zsc.shixun.entity.ArticleCategories;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author ZWYZY
 * @since 2020/6/18
 */
@Service
@Mapper(componentModel = "spring")
public interface TypeMapping {
    /**
     * @param articleCategories
     * @return
     */
    TypeVO entityToVo(ArticleCategories articleCategories);

    /**
     * @param articleCategoriesList
     * @return
     */
    List<TypeVO> entitysToVos(List<ArticleCategories> articleCategoriesList);
}
